import requests

url = 'http://127.0.0.1:8000/register/'

params = {'username':'zcy','password':'123'}

res = requests.get(url=url,params=params)

print(res.text)